package com.exercise.calculatorapp.enums;
import com.exercise.calculatorapp.R;

public enum Rid {
    // 文字显示区域
    TV_INPUT(R.id.tv_input),
    TV_RESULT(R.id.tv_result),
    BTN_CANCEL(R.id.btn_cancel),
    BTN_DIVIDE(R.id.btn_divide),
    BTN_MULTIPLY(R.id.btn_multiply),
    BTN_CLEAR(R.id.btn_clear),
    BTN_NINE(R.id.btn_nine),
    BTN_EIGHT(R.id.btn_eight),
    BTN_SEVEN(R.id.btn_seven),
    BTN_PLUS(R.id.btn_plus),
    BTN_SIX(R.id.btn_six),
    BTN_FIVE(R.id.btn_five),
    BTN_FOUR(R.id.btn_four),
    BTN_MINUS(R.id.btn_minus),
    BTN_THREE(R.id.btn_three),
    BTN_TWO(R.id.btn_two),
    BTN_ONE(R.id.btn_one),
    BTN_RADICAL(R.id.btn_radical),
    BTN_RECIPROCAL(R.id.btn_reciprocal),
    BTN_ZERO(R.id.btn_zero),
    BTN_DOT(R.id.btn_dot),
    BTN_EQUAL(R.id.btn_equal);

    private final int id;

    Rid(int id) {
        this.id = id;
    }

    public int getId() {
        return id;
    }
}
